package com.joker.aigc.service;

import com.joker.aigc.domain.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.joker.aigc.domain.enums.RoleEnum;

/**
 * @author 20346
 * @description 针对表【user_role(角色表)】的数据库操作Service
 * @createDate 2023-12-17 16:29:00
 */
public interface UserRoleService extends IService<UserRole> {

    boolean hasPower(Long uid, RoleEnum roleEnum);

    UserRole queryByUid(Long uid,Long roomId);
}
